package com.eva.learn.other;

/**
 * Created by evain on 15/9/20.
 */
public class Test {
    public static void main(String[] args) {
        switch (EnumTest.valueOf("test1")){
            case test1:
                System.out.println("T1");
                break;
            case test2:
                System.out.println("T2");
                break;
        }
    }
}
